package org.nekperu15739.aboutme.persistencemodel.domain.implementation.i18n;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.nekperu15739.aboutme.persistencemodel.domain.abstracts.EntityAbstract;
import org.nekperu15739.aboutme.persistencemodel.domain.interfaces.i18n.LanguageEntity;

@Entity
@Table(name = "language", schema = "i18n")
public class LanguageEntityJpa extends EntityAbstract<Integer> implements
		Serializable, LanguageEntity {

    private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column
	private Integer languageId;

	@Column
	private String language;

	public String getLanguage() {
		return language;
	}

	public void setLanguage(String language) {
		this.language = language;
	}

	public Integer getLanguageId() {
		return languageId;
	}

	public void setLanguageId(Integer languageId) {
		this.languageId = languageId;
	}

	@Override
	public Integer getPrimaryKey() {
		return null;
	}

}
